package com.fc.advbox.dao;

import com.alibaba.fastjson.JSONObject;
import com.fc.advbox.entity.ContractEntity;
import com.fc.advbox.entity.ContractEquipmentEntity;

import java.util.List;

/**
 * Created by E7450 on 2018/6/21.
 */
public interface ContractEquipmentDao extends BaseDao<ContractEquipmentEntity> {

    int deleteByContractId(Long contractId);

    List<Long> queryEquipmentIdsByContractId(Long contractId);

    List<ContractEntity> queryContractsByEquipmentId(JSONObject params);
}
